﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UC_TimKiem.ascx.cs" Inherits="Controls_UC_TimKiem" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
 <script type="text/javascript">
        function Focus(object) {
            object.value = "";
        }

        function Blur(object) {
            if (object.value == "")
                object.value = "Nhập từ khóa cần tìm...";
        }
    </script>
<table cellpadding="3" cellspacing="0" class="style1" 
    style="background-color: #ff9933; width: 100%;">
    <tr>
        <td align="right" 
            
            
            style="width: 75%; height: 35px; color: #FFFFFF; background-repeat: repeat-x;">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btntímp" runat="server" onclick="btntímp_Click" 
                Text="Tìm sản phẩm" />
&nbsp; <asp:TextBox ID="txttim" runat="server" style="margin-left: 0px"  
                Width="322px" Text = "Nhập từ khóa cần tìm..." 
                    onfocus="Focus(this)" onblur="Blur(this) > </asp:TextBox>
&nbsp;
            </td>
        <td align="justify" 
            
                style="width: 200px; height: 35px; font-family: arial, Helvetica, sans-serif; color: #FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp; <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Dang_ky.aspx" 
                ForeColor="White" style="font-weight: 700">Đăng ký</asp:HyperLink>&nbsp;&nbsp;<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/DangNhap.aspx" 
                ForeColor="White" style="font-weight: 700">Đăng nhập</asp:HyperLink>&nbsp;</td></tr></table>